package com.example.xiaomengai;


import com.example.xiaomengai.service.impl.Neo4jRepositoryImpl;
import jakarta.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * 功能
 * 作者：梦天
 * 日期：2025/4/28 19:34
 */
@SpringBootTest
public class testRelation {
    @Resource
    private Neo4jRepositoryImpl characterRepositoryImpl;
    @Test
    public void test() {
//        System.out.println(characterRepositoryImpl.findCharacterRelationsByType("萧炎","红颜知己"));
        System.out.println(characterRepositoryImpl.findRelationsBetweenCharacters("萧炎","云韵"));
//        System.out.println(characterRepositoryImpl.findRelations("丈夫"));
    }
}
